home *** CD-ROM | disk | FTP | other *** search
Unknown | 1988-01-20 | 1.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Truevision Targa Graphic (image/tga)
| magic
| Supported |
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 16 f4 20 3e 20 | 24 2e 4c 69 62 72 61 72 |..... > |$.Librar|
|00000010| 79 2e 46 69 6e 64 0d 00 | 14 19 f4 20 46 69 6c 65 |y.Find..|... File|
|00000020| 20 73 65 61 72 63 68 20 | 75 74 69 6c 69 74 79 0d | search |utility.|
|00000030| 00 1e 21 f4 20 62 79 20 | 4a 65 66 66 20 53 68 69 |..!. by |Jeff Shi|
|00000040| 70 70 2c 20 4a 61 6e 75 | 61 72 79 20 31 39 38 38 |pp, Janu|ary 1988|
|00000050| 0d 00 28 05 3a 0d 00 32 | 29 de 20 70 61 74 68 6e |..(.:..2|). pathn|
|00000060| 61 6d 65 25 20 32 35 36 | 2c 66 69 6c 65 6e 61 6d |ame% 256|,filenam|
|00000070| 65 25 20 31 32 2c 6e 61 | 6d 65 25 20 31 32 0d 00 |e% 12,na|me% 12..|
|00000080| 3c 32 de 20 62 75 66 66 | 65 72 31 25 20 38 35 30 |<2. buff|er1% 850|
|00000090| 20 20 3a f4 20 42 75 66 | 66 65 72 20 74 6f 20 73 | :. Buf|fer to s|
|000000a0| 74 6f 72 65 20 66 69 6c | 65 73 20 66 6f 75 6e 64 |tore fil|es found|
|000000b0| 0d 00 46 36 de 20 62 75 | 66 66 65 72 32 25 20 33 |..F6. bu|ffer2% 3|
|000000c0| 30 38 30 20 3a f4 20 42 | 75 66 66 65 72 20 74 6f |080 :. B|uffer to|
|000000d0| 20 73 74 6f 72 65 20 66 | 69 6c 65 20 61 74 74 72 | store f|ile attr|
|000000e0| 69 62 75 74 65 73 0d 00 | 50 0d ee 20 85 20 f6 3a |ibutes..|P.. . .:|
|000000f0| f1 3a e0 0d 00 5a 05 3a | 0d 00 64 3e f4 20 47 65 |.:...Z.:|..d>. Ge|
|00000100| 74 20 63 6f 6d 6d 61 6e | 64 20 73 74 72 69 6e 67 |t comman|d string|
|00000110| 20 61 6e 64 20 65 78 74 | 72 61 63 74 20 73 65 61 | and ext|ract sea|
|00000120| 72 63 68 20 66 69 6c 65 | 6e 61 6d 65 20 73 70 65 |rch file|name spe|
|00000130| 63 69 66 69 65 64 0d 00 | 6e 17 c8 99 20 22 4f 53 |cified..|n... "OS|
|00000140| 5f 47 65 74 45 6e 76 22 | 20 b8 20 72 30 0d 00 78 |_GetEnv"| . r0..x|
|00000150| 0d 6f 66 66 73 65 74 3d | 31 32 0d 00 82 05 f5 0d |.offset=|12......|
|00000160| 00 8c 0d 6f 66 66 73 65 | 74 2b 3d 31 0d 00 96 13 |...offse|t+=1....|
|00000170| fd 20 72 30 3f 6f 66 66 | 73 65 74 3d 26 32 30 0d |. r0?off|set=&20.|
|00000180| 00 a0 1c 66 69 6c 65 24 | 3d a4 6e 61 6d 65 28 72 |...file$|=.name(r|
|00000190| 30 2b 6f 66 66 73 65 74 | 2b 31 29 0d 00 aa 15 f4 |0+offset|+1).....|
|000001a0| 20 45 6e 74 65 72 20 6d | 61 69 6e 20 6c 6f 6f 70 | Enter m|ain loop|
|000001b0| 0d 00 b4 14 f2 72 65 61 | 64 5f 64 69 72 28 22 22 |.....rea|d_dir(""|
|000001c0| 2c 22 22 29 0d 00 be 05 | e0 0d 00 c8 05 3a 0d 00 |,"")....|.....:..|
|000001d0| d2 14 f4 20 4d 61 69 6e | 20 70 72 6f 63 65 64 75 |... Main| procedu|
|000001e0| 72 65 0d 00 dc 1b dd 20 | f2 72 65 61 64 5f 64 69 |re..... |.read_di|
|000001f0| 72 28 70 61 74 68 24 2c | 64 69 72 24 29 0d 00 e6 |r(path$,|dir$)...|
|00000200| 12 ea 20 69 6e 64 65 78 | 25 2c 70 6f 73 6e 25 0d |.. index|%,posn%.|
|00000210| 00 f0 24 24 70 61 74 68 | 6e 61 6d 65 25 3d a4 67 |..$$path|name%=.g|
|00000220| 65 74 5f 70 61 74 68 28 | 70 61 74 68 24 2c 64 69 |et_path(|path$,di|
|00000230| 72 24 29 0d 00 fa 25 6e | 6f 5f 65 6e 74 72 69 65 |r$)...%n|o_entrie|
|00000240| 73 25 3d a4 72 65 61 64 | 5f 65 6e 74 72 69 65 73 |s%=.read|_entries|
|00000250| 28 31 30 2c 22 2a 22 29 | 0d 01 04 15 e7 20 6e 6f |(10,"*")|..... no|
|00000260| 5f 65 6e 74 72 69 65 73 | 25 3e 30 20 8c 0d 01 0e |_entries|%>0 ....|
|00000270| 36 f4 20 49 66 20 74 68 | 65 20 73 65 6c 65 63 74 |6. If th|e select|
|00000280| 65 64 20 64 69 72 65 63 | 74 6f 72 79 20 68 61 73 |ed direc|tory has|
|00000290| 20 61 6e 79 74 68 69 6e | 67 20 69 6e 20 69 74 2e | anythin|g in it.|
|000002a0| 2e 2e 2e 0d 01 18 23 6e | 6f 5f 66 6f 75 6e 64 3d |......#n|o_found=|
|000002b0| a4 72 65 61 64 5f 65 6e | 74 72 69 65 73 28 39 2c |.read_en|tries(9,|
|000002c0| 66 69 6c 65 24 29 0d 01 | 22 20 66 69 6c 65 5f 63 |file$)..|" file_c|
|000002d0| 6f 75 6e 74 3d 30 3a 6f | 66 66 73 65 74 3d 62 75 |ount=0:o|ffset=bu|
|000002e0| 66 66 65 72 31 25 0d 01 | 2c 1b c8 95 20 66 69 6c |ffer1%..|,... fil|
|000002f0| 65 5f 63 6f 75 6e 74 3c | 3e 6e 6f 5f 66 6f 75 6e |e_count<|>no_foun|
|00000300| 64 0d 01 36 38 f4 20 4f | 75 74 70 75 74 20 66 69 |d..68. O|utput fi|
|00000310| 6c 65 20 66 6f 75 6e 64 | 20 74 6f 20 56 44 55 20 |le found| to VDU |
|00000320| 69 66 20 69 74 27 73 20 | 74 68 65 20 6f 6e 65 20 |if it's |the one |
|00000330| 73 70 65 63 69 66 69 65 | 64 0d 01 40 26 e7 20 24 |specifie|d..@&. $|
|00000340| 70 61 74 68 6e 61 6d 65 | 25 3c 3e 22 22 20 f1 20 |pathname|%<>"" . |
|00000350| 24 70 61 74 68 6e 61 6d | 65 25 2b 22 2e 22 3b 0d |$pathnam|e%+".";.|
|00000360| 01 4a 22 c8 99 20 22 4f | 53 5f 57 72 69 74 65 30 |.J".. "O|S_Write0|
|00000370| 22 2c 6f 66 66 73 65 74 | 20 b8 20 6f 66 66 73 65 |",offset| . offse|
|00000380| 74 0d 01 54 13 c8 99 20 | 22 4f 53 5f 4e 65 77 4c |t..T... |"OS_NewL|
|00000390| 69 6e 65 22 0d 01 5e 11 | 66 69 6c 65 5f 63 6f 75 |ine"..^.|file_cou|
|000003a0| 6e 74 2b 3d 31 0d 01 68 | 05 ce 0d 01 72 16 69 6e |nt+=1..h|....r.in|
|000003b0| 64 65 78 25 3d 30 3a 70 | 6f 73 6e 25 3d 26 31 30 |dex%=0:p|osn%=&10|
|000003c0| 0d 01 7c 1a c8 95 20 69 | 6e 64 65 78 25 3c 3e 6e |..|... i|ndex%<>n|
|000003d0| 6f 5f 65 6e 74 72 69 65 | 73 25 0d 01 86 18 e7 20 |o_entrie|s%..... |
|000003e0| 62 75 66 66 65 72 32 25 | 3f 70 6f 73 6e 25 3d 32 |buffer2%|?posn%=2|
|000003f0| 20 8c 0d 01 90 18 f4 20 | 47 65 74 20 64 69 72 65 | ...... |Get dire|
|00000400| 63 74 6f 72 79 20 6e 61 | 6d 65 0d 01 9a 22 24 6e |ctory na|me..."$n|
|00000410| 61 6d 65 25 3d a4 6e 61 | 6d 65 28 62 75 66 66 65 |ame%=.na|me(buffe|
|00000420| 72 32 25 2b 70 6f 73 6e | 25 2b 34 29 0d 01 a4 21 |r2%+posn|%+4)...!|
|00000430| f4 20 4e 6f 77 20 6c 6f | 6f 6b 20 69 6e 74 6f 20 |. Now lo|ok into |
|00000440| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 0d 01 ae |the dire|ctory...|
|00000450| 2b f2 72 65 61 64 5f 64 | 69 72 28 a4 67 65 74 5f |+.read_d|ir(.get_|
|00000460| 70 61 74 68 28 70 61 74 | 68 24 2c 64 69 72 24 29 |path(pat|h$,dir$)|
|00000470| 2c 24 6e 61 6d 65 25 29 | 0d 01 b8 24 24 70 61 74 |,$name%)|...$$pat|
|00000480| 68 6e 61 6d 65 25 3d a4 | 67 65 74 5f 70 61 74 68 |hname%=.|get_path|
|00000490| 28 70 61 74 68 24 2c 64 | 69 72 24 29 0d 01 c2 25 |(path$,d|ir$)...%|
|000004a0| f4 20 52 65 61 64 20 65 | 6e 74 72 69 65 73 20 66 |. Read e|ntries f|
|000004b0| 6f 72 20 70 72 65 76 69 | 6f 75 73 20 6c 65 76 65 |or previ|ous leve|
|000004c0| 6c 0d 01 cc 25 6e 6f 5f | 65 6e 74 72 69 65 73 25 |l...%no_|entries%|
|000004d0| 3d a4 72 65 61 64 5f 65 | 6e 74 72 69 65 73 28 31 |=.read_e|ntries(1|
|000004e0| 30 2c 22 2a 22 29 0d 01 | d6 05 cd 0d 01 e0 34 f4 |0,"*")..|......4.|
|000004f0| 20 43 61 6c 63 75 6c 61 | 74 65 20 74 68 65 20 70 | Calcula|te the p|
|00000500| 6f 73 69 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 6e |osition |of the n|
|00000510| 65 78 74 20 4f 62 6a 65 | 63 74 20 74 79 70 65 0d |ext Obje|ct type.|
|00000520| 01 ea 0e 58 25 3d 70 6f | 73 6e 25 2b 34 0d 01 f4 |...X%=po|sn%+4...|
|00000530| 05 f5 0d 01 fe 09 58 25 | 2b 3d 31 0d 02 08 13 fd |......X%|+=1.....|
|00000540| 20 62 75 66 66 65 72 32 | 25 3f 58 25 3d 30 0d 02 | buffer2|%?X%=0..|
|00000550| 12 1d 70 6f 73 6e 25 3d | 26 31 30 2b 58 25 2b 28 |..posn%=|&10+X%+(|
|00000560| 34 2d 28 58 25 20 83 20 | 34 29 29 0d 02 1c 0d 69 |4-(X% . |4))....i|
|00000570| 6e 64 65 78 25 2b 3d 31 | 0d 02 26 05 ce 0d 02 30 |ndex%+=1|..&....0|
|00000580| 05 cd 0d 02 3a 05 e1 0d | 02 44 05 3a 0d 02 4e 16 |....:...|.D.:..N.|
|00000590| dd 20 a4 67 65 74 5f 70 | 61 74 68 28 41 24 2c 42 |. .get_p|ath(A$,B|
|000005a0| 24 29 0d 02 58 21 e7 20 | 41 24 3c 3e 22 22 20 8c |$)..X!. |A$<>"" .|
|000005b0| 20 3d 20 41 24 2b 22 2e | 22 2b 42 24 20 8b 20 3d | = A$+".|"+B$ . =|
|000005c0| 20 42 24 0d 02 62 05 3a | 0d 02 6c 26 dd 20 a4 72 | B$..b.:|..l&. .r|
|000005d0| 65 61 64 5f 65 6e 74 72 | 69 65 73 28 72 65 61 73 |ead_entr|ies(reas|
|000005e0| 6f 6e 2c 24 66 69 6c 65 | 6e 61 6d 65 25 29 0d 02 |on,$file|name%)..|
|000005f0| 76 10 e7 20 72 65 61 73 | 6f 6e 3d 39 20 8c 0d 02 |v.. reas|on=9 ...|
|00000600| 80 12 73 74 61 72 74 3d | 62 75 66 66 65 72 31 25 |..start=|buffer1%|
|00000610| 0d 02 8a 0e 6c 65 6e 67 | 74 68 3d 38 35 30 0d 02 |....leng|th=850..|
|00000620| 94 05 cc 0d 02 9e 12 73 | 74 61 72 74 3d 62 75 66 |.......s|tart=buf|
|00000630| 66 65 72 32 25 0d 02 a8 | 0f 6c 65 6e 67 74 68 3d |fer2%...|.length=|
|00000640| 33 30 38 30 0d 02 b2 05 | cd 0d 02 bc 45 c8 99 20 |3080....|....E.. |
|00000650| 22 4f 53 5f 47 42 50 42 | 22 2c 72 65 61 73 6f 6e |"OS_GBPB|",reason|
|00000660| 2c 70 61 74 68 6e 61 6d | 65 25 2c 73 74 61 72 74 |,pathnam|e%,start|
|00000670| 2c 37 37 2c 30 2c 6c 65 | 6e 67 74 68 2c 66 69 6c |,77,0,le|ngth,fil|
|00000680| 65 6e 61 6d 65 25 20 b8 | 20 2c 2c 2c 72 30 0d 02 |ename% .| ,,,r0..|
|00000690| c6 08 3d 20 72 30 0d 02 | d0 05 3a 0d 02 da 25 f4 |..= r0..|..:...%.|
|000006a0| 20 47 65 74 73 20 66 69 | 6c 65 6e 61 6d 65 20 6f | Gets fi|lename o|
|000006b0| 72 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |r direct|ory name|
|000006c0| 0d 02 e4 12 dd a4 6e 61 | 6d 65 28 70 6f 69 6e 74 |......na|me(point|
|000006d0| 25 29 0d 02 ee 0e 41 24 | 3d 22 22 3a 59 25 3d 30 |%)....A$|="":Y%=0|
|000006e0| 0d 02 f8 13 c8 95 20 70 | 6f 69 6e 74 25 3f 59 25 |...... p|oint%?Y%|
|000006f0| 3c 3e 30 0d 03 02 16 41 | 24 3d 41 24 2b bd 28 70 |<>0....A|$=A$+.(p|
|00000700| 6f 69 6e 74 25 3f 59 25 | 29 0d 03 0c 09 59 25 2b |oint%?Y%|)....Y%+|
|00000710| 3d 31 0d 03 16 05 ce 0d | 03 20 08 3d 20 41 24 0d |=1......|. .= A$.|
|00000720| ff | |. | |
+--------+-------------------------+-------------------------+--------+--------+